using System;
using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Requests
{
	public static class EntityShippingAddressesDeleteExtend
{
		public static ShippingAddresses ToDeleteEntity(this RequestShippingAddressesDto dto)
		{
			return new ShippingAddresses
			{
				SaId = dto.id,
				SaUser = dto.user,
			};
		}
	}
}
